package com.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pojo.Qiye;
import com.vo.QiyeVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: T-bao
 * @Date: 2021-3-25 15:00
 * @Description:
 */
public interface QiyeDAO extends BaseMapper<Qiye> {

    IPage<QiyeVO> shenheQiye(Page page, String qyname);

    int shenhecount(String qyname);

    List<QiyeVO> selectQiye(String qyname, int page, @Param("size") int limit , @Param("wy") String wy, @Param("status") Integer status);

    int count(String qyname, @Param("wy") String wy, @Param("status") Integer status);

    int countName(String qyname);

    int countNameID(String qyname,String id);

}
